﻿using System;
using System.Collections.Generic;
using System.Text;
using Truron.Purchase.Model;
using Truron.Purchase.Model.RemoteModel;

namespace Truron.Purchase.Interface
{
    public interface IPurchase_OuterRequestService
    {
        (int count, List<Purchase_OuterRequest> list) GetList(string searchKey, int pageSize, int pageIndex, string searchJson);
        int Save(Purchase_OuterRequest ent, UserCache user);
        int Del(List<int> Ids, UserCache user);
        List<ReturnStatusModel> ReturnStatus(List<int> RequestIds);
        List<Purchase_OuterRequest> GetAgreeList();
        void UpdateStatus(int RequestId, int Status, UserCache user);
        List<Purchase_OuterRequest> GetAllList();
        Purchase_OuterRequest GetEntityById(int Id);

    }
}
